﻿#ifndef C3FDPDFREPORT_H
#define C3FDPDFREPORT_H

#include <QPdfWriter>
#include <QString>
#include <QList>


namespace MainWidget
{
	class C3fdPdfReport : public QObject
	{
		Q_OBJECT
	public:
		C3fdPdfReport(QString fileName = "report.pdf");
		~C3fdPdfReport();
		void generate();

	private:
		qreal getDpi();

	private:
		QPdfWriter *m_PdfWriter = nullptr;
		QString m_PdfFile = "";
	};
}

#endif